package cn.iocoder.yudao.module.call.controller.admin.agent.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "呼叫中心 - 坐席分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AgentPageReqVO extends PageParam {

    @Schema(description = "坐席工号")
    private String agentNumber;

    @Schema(description = "坐席状态")
    private Integer status;

    @Schema(description = "SIP主叫加白状态")
    private Integer sipCallAuditStatus;

    @Schema(description = "双向回拨加白状态")
    private Integer doubleCallAuditStatus;

    @Schema(description = "SIP主叫号码")
    private String sipCallNumber;

    @Schema(description = "外呼手机")
    private String telephone;

    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "坐席登录密码")
    private String password;

    @Schema(description = "班组编号", example = "25762")
    private Long groupId;

    @Schema(description = "负责人编号", example = "29140")
    private Long ownerUserId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    private Long tenantId;

    @Schema(description = "坐席监控信息")
    private AgentMonitorReqVO monitorReqVO;
}